package com.fyakm.daodejing.stock.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 股票历史数据项
 *
 * 'code': '股票代码',
 * 'date': '交易日期',
 * 'open': '开盘价',
 * 'high': '最高价',
 * 'low': '最低价',
 * 'close': '收盘价',
 * 'preclose': '前收盘价
 * 'pctChg': '涨跌幅',
 * 'volume': '成交量',
 * 'amount': '成交额'
 */
public class StockHistoryItem {

    // 股票代码
    private String code;

    // 交易日期
    private Date date;

    // 开盘价
    private BigDecimal open;

    // 最高价
    private BigDecimal high;

    // 最低价
    private BigDecimal low;

    // 收盘价
    private BigDecimal close;

    // 前收盘价
    private BigDecimal preclose;

    // 涨跌幅
    private BigDecimal pctChg;

    // 成交量
    private BigDecimal volume;

    // 成交额
    private BigDecimal amount;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public BigDecimal getOpen() {
        return open;
    }

    public void setOpen(BigDecimal open) {
        this.open = open;
    }

    public BigDecimal getHigh() {
        return high;
    }

    public void setHigh(BigDecimal high) {
        this.high = high;
    }

    public BigDecimal getLow() {
        return low;
    }

    public void setLow(BigDecimal low) {
        this.low = low;
    }

    public BigDecimal getClose() {
        return close;
    }

    public void setClose(BigDecimal close) {
        this.close = close;
    }

    public BigDecimal getPreclose() {
        return preclose;
    }

    public void setPreclose(BigDecimal preclose) {
        this.preclose = preclose;
    }

    public BigDecimal getPctChg() {
        return pctChg;
    }

    public void setPctChg(BigDecimal pctChg) {
        this.pctChg = pctChg;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
}
